package com.renli.service;


import com.renli.bean.ResultJson;
import com.renli.pojo.Role;
import com.renli.pojo.RolePerm;

import java.util.List;
import java.util.Map;

public interface RoleService {
    List<Role> findByLoginId(Integer loginId);

    ResultJson<List<Role>> find(Map<String,Object> map);

    ResultJson updatePerm(Map<String,Integer> listMap);

    ResultJson addPerm(Map<String, Integer> map);

    ResultJson delPerm(Map<String, Integer> map);
}
